home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2008 October / MacFormat Issue200 October 2008.bin / pc / Files / Scenes / HOME.DIR / Internal_20_import_intro_text.ls < prev    next >
Encoding:
Text File  |  2008-08-26  |  382 b   |  13 lines

  1. global gRootPath, dV
  2.  
  3. on beginSprite me
  4.   thePath = gRootPath & "files" & dV & "menu" & dV & "intro_text.txt"
  5.   if baFileExists(thePath) then
  6.     nt = getNetText(thePath)
  7.     if netDone(nt) then
  8.       sprite(me.spriteNum).member.text = netTextResult(nt)
  9.     end if
  10.   end if
  11.   member("title_image").importFileInto(gRootPath & "files" & dV & "Furniture" & dV & "title_image.png")
  12. end
  13.